package com.linghang.wusthelper.service;

import com.linghang.wusthelper.common.ServerResponse;

/**
 * @author origin
 * 图书馆service
 */
public interface LibraryService {

    ServerResponse login(String token,String password);

    ServerResponse getRentInfo(String token) throws InterruptedException;

    ServerResponse getRentHistory(String token) throws InterruptedException;

    ServerResponse getBookInfo(String bookUrl) throws InterruptedException;

    ServerResponse getAnnouncementList(int pageNum,int pageSize);

    ServerResponse getAnnouncementContent(int announcementId);
}
